package top.healthylife.gateway.platform.youshu.dto.apia501.req;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import top.healthylife.gateway.dto.annotation.ApiField;
import top.healthylife.gateway.dto.processor.GroupOneMustBeFilledInProcessor;
import top.healthylife.gateway.dto.request.req.ApiReqDto;

/**
 * @author : GaoZeXi
 * @date 2021/8/4 17:41
 */
@Data
@Accessors(chain = true)
@ApiModel("企业关联人")
public class YoushuReqEnterpriseRelationInfoDto extends ApiReqDto {

    @ApiField(value = "唯一标识", group = GroupOneMustBeFilledInProcessor.class)
    @ApiModelProperty(value = "唯一标识", required = false, example = "330222198008010000",notes = "cid/entInfo 必传其一，两者都传时只取用 cid")
    private String cid;

    @ApiField(value = "企业名、统代、注册号", group = GroupOneMustBeFilledInProcessor.class)
    @ApiModelProperty(value = "企业名、统代、注册号", required = false, example = "",notes = "cid/entInfo 必传其一，两者都传时只取用 cid")
    private String entInfo;

    @ApiModelProperty(value = "人员姓名", required = true, example = "张三")
    private String personName;
}
